Fixed bug where removing default routes affected non-module routes specified