FIX: gcs crash when uploading single waypoint

GSC was crashing when trying to upload a single waypoint due to division by zero.