diff --git a/product/CMFCategory/Renderer.py b/product/CMFCategory/Renderer.py
index 9f1e71dc8bbac46d8a7a04d31eeb4315669436a1..851d89dbd78f1e413ec15d120793d7b1ce65cefe 100644
--- a/product/CMFCategory/Renderer.py
+++ b/product/CMFCategory/Renderer.py
@@ -201,7 +201,7 @@ class Renderer(Filter):
           # base category, merely ignore this category.
           # This is not the job for a Renderer to automatically remove values
           # if we do not specify a filter
-          if getattr(value, 'getBaseCategoryId', None) is not None:
+          if getattr(value, 'getBaseCategoryId', None) is None:
             continue
           # Remove from now, it might be outdated and useless
           #if value.getBaseCategoryId() != guessed_base_category: