Remake. Instead removing RouteMatch, add insert them only if 'useRouteMatch' param was set