not related to the above fix, but yet another fix to avoid returning non-routes here.