diff --git a/product/CMFCategory/Category.py b/product/CMFCategory/Category.py
index 169530868fed5a6e9ee5ba731923638b7ff5188d..b433f443476d8b805ec26556f797bf806982c8f2 100644
--- a/product/CMFCategory/Category.py
+++ b/product/CMFCategory/Category.py
@@ -933,10 +933,7 @@ class BaseCategory(Category):
       if checked_permission is not None:
         checkPermission = self.portal_membership.checkPermission
         def permissionFilter(obj):
-          if checkPermission(checked_permission, obj):
-            return 1
-          else:
-            return 0
+          return checkPermission(checked_permission, obj)
         value_list = filter(permissionFilter, value_list)
 
       return sortValueList(value_list, sort_on, sort_order, **kw)