Fix for a route matching bug in similarly named routes