Fixed map crash with empty route.