diff --git a/lib/db/queries.go b/lib/db/queries.go
index 2057b8c3906df9296eb9c23ea5d1919a5e5fc89c..149221e4143f4c28beea7623dad767d8fd4ac632 100644
--- a/lib/db/queries.go
+++ b/lib/db/queries.go
@@ -224,7 +224,7 @@ func ListObjectsByAssociatedUser(userID string, typ int, asc bool, offset, limit
 		order = "ASC"
 	}
 
-	typeFilter := "!= 0"
+	typeFilter := "!= 2"
 	if typ != -1 {
 		typeFilter = fmt.Sprintf("= %v", typ)
 	}