Fixed issue where having no root route caused a 500
Merge pull request #994 from grumpydev/NoRootFix

Fixed issue where having no root route caused a 500