diff --git a/src/Processor/DatabaseProcessor/CriterionProcessor.php b/src/Processor/DatabaseProcessor/CriterionProcessor.php
index <HASH>..<HASH> 100644
--- a/src/Processor/DatabaseProcessor/CriterionProcessor.php
+++ b/src/Processor/DatabaseProcessor/CriterionProcessor.php
@@ -85,7 +85,7 @@ abstract class CriterionProcessor implements DatabaseCriterionProcessor
     {
         $prefix = $field ? $field->getName() : 'value';
 
-        return \snake_case($prefix . self::$parameterId++);
+        return \preg_replace('/\W+/u', '_', $prefix . self::$parameterId++);
     }
 
     /**
Fix queries pattern on deep field selections