Changed behavior of HasRoute.