Fixed crash when route had only one step