Fix handling when route.all is only route