diff --git a/modules/core/lib/Controller.php b/modules/core/lib/Controller.php
index 6d17db639f9c8a5562b14d55e833b136ff07578d..97df0cfd63f1a1716f4a166a63e584f3d5db668f 100644
--- a/modules/core/lib/Controller.php
+++ b/modules/core/lib/Controller.php
@@ -105,7 +105,7 @@ class Controller
             unset($this->sources['admin']);
         }
 
-        if (count($this->sources) === 1) { // we only have one source available
+        if (count($this->sources) === 1 && $as === null) { // we only have one source available
             $as = key($this->sources);
         }