Fix for pageless legacy uri