Bug fix for route_prefix joining