fix a regression with the current_route_url changes in #1081