Fixes route_id vs routeName issue with DB.