Deleting waypoints has a bug