Fix nested routes.