Make sure that there is at most one waypoint at each position in a waypoint list