Fixes scope/library conflicts for matching on scoped routes.