Fixes wrong comparison on CmsPagesRoute

:beers: