Fix for the route delete issue found during sanity testing