Fix googlemapsdirections when max waypoints is reached