checking that supplied waypoints exist