diff --git a/sources/content/src/ContentEntitySourcePluginUi.php b/sources/content/src/ContentEntitySourcePluginUi.php
index e949798..7328d3b 100644
--- a/sources/content/src/ContentEntitySourcePluginUi.php
+++ b/sources/content/src/ContentEntitySourcePluginUi.php
@@ -214,7 +214,7 @@ class ContentEntitySourcePluginUi extends SourcePluginUiBase {
     foreach ($_GET as $key => $value) {
       // Skip exclude params, and those that have empty values, as these would
       // make it into query condition instead of being ignored.
-      if (in_array($key, $exclude_params) || $value === '') {
+      if (!(in_array($key, $exclude_params) || $value == '')) {
         continue;
       }
       $search_property_params[$key] = $value;
