RouteMatcher: optimize empty set.