diff --git a/apps/comments/js/filesplugin.js b/apps/comments/js/filesplugin.js
index bf6bb05146bf4d12023f5e392af4b61311bcfd74..084cfb41034ea074f9471152a272f5abef3a051a 100644
--- a/apps/comments/js/filesplugin.js
+++ b/apps/comments/js/filesplugin.js
@@ -29,9 +29,9 @@
 	 * @namespace
 	 */
 	OCA.Comments.FilesPlugin = {
-		allowedLists: [
-			'files',
-			'favorites'
+		ignoreLists: [
+			'files_trashbin',
+			'files.public'
 		],
 
 		_formatCommentCount: function(count) {
@@ -47,7 +47,7 @@
 
 		attach: function(fileList) {
 			var self = this;
-			if (this.allowedLists.indexOf(fileList.id) < 0) {
+			if (this.ignoreLists.indexOf(fileList.id) >= 0) {
 				return;
 			}
 
diff --git a/apps/systemtags/js/filesplugin.js b/apps/systemtags/js/filesplugin.js
index 588037455ae502515992ee4cf41825f2970d72be..db97b91a0726e350afc95b535a4539ed167fa5c5 100644
--- a/apps/systemtags/js/filesplugin.js
+++ b/apps/systemtags/js/filesplugin.js
@@ -21,14 +21,13 @@
 	 * @namespace
 	 */
 	OCA.SystemTags.FilesPlugin = {
-		allowedLists: [
-			'files',
-			'favorites',
-			'systemtagsfilter'
+		ignoreLists: [
+			'files_trashbin',
+			'files.public'
 		],
 
 		attach: function(fileList) {
-			if (this.allowedLists.indexOf(fileList.id) < 0) {
+			if (this.ignoreLists.indexOf(fileList.id) >= 0) {
 				return;
 			}