Fixed an issue with the route change error handler
Merge pull request #67 from prabinv/RouteChangeErrorHandlerHotfix

Fixed an issue with the route change error handler