Fixed issue where having no root route caused a 500