Fix possible error when overriding routes.
Merge pull request #260 from t-bullock/routes-fix

Fix possible error when overriding routes.