Route matching bugfix.