Fix route matching.