Fix a bug with some submenu page redirects