diff --git a/module/VuFind/src/VuFind/Search/Manager.php b/module/VuFind/src/VuFind/Search/Manager.php
index 9bce7153e798c4f0938719e3a7584e078334b87a..462f1de0363ce7b6aae3349a947083302679c001 100644
--- a/module/VuFind/src/VuFind/Search/Manager.php
+++ b/module/VuFind/src/VuFind/Search/Manager.php
@@ -87,7 +87,7 @@ class Manager implements ServiceLocatorAwareInterface
         // Use default namespace if we got this far:
         $ns = isset($this->config['default_namespace'])
             ? $this->config['default_namespace'] : 'VuFind\Search';
-        return $ns . '\\' . $this->classId;
+        return $ns . '\\' . $key;
     }
 
     /**