diff --git a/src/Routing/PageManagerRoutes.php b/src/Routing/PageManagerRoutes.php
index 7c746be..1013541 100644
--- a/src/Routing/PageManagerRoutes.php
+++ b/src/Routing/PageManagerRoutes.php
@@ -62,7 +62,7 @@ class PageManagerRoutes extends RouteSubscriberBase {
       // Loop through all existing routes to see if this is overriding a route.
       foreach ($collection->all() as $name => $collection_route) {
         // Find all paths which match the path of the current display.
-        $route_path = RouteCompiler::getPathWithoutDefaults($collection_route);
+        $route_path = $collection_route->getPath();
         $route_path = RouteCompiler::getPatternOutline($route_path);
 
         if ($path == $route_path) {
