diff --git a/product/ERP5Type/patches/WorkflowTool.py b/product/ERP5Type/patches/WorkflowTool.py
index 6b4348ab9bec3a8a67e3ffdb21c0fc6aca04e75d..e6a1909873b62e010e8ae92e4a34da76bcd4ad47 100644
--- a/product/ERP5Type/patches/WorkflowTool.py
+++ b/product/ERP5Type/patches/WorkflowTool.py
@@ -159,7 +159,7 @@ def groupWorklistListByCondition(worklist_dict, acceptable_key_dict, getSecurity
             criterion_value = security_cache[security_cache_key]
           else:
             security_query = getSecurityUidList(**{criterion_id: criterion_value})
-            criterion_value = security_query.getValue()
+            criterion_value = security_query
             security_cache[security_cache_key] = criterion_value
           criterion_id = SECURITY_COLUMN_ID
         else: