[fix] Clear directions if there is no valid waypoints