FIX: Properly detect whether a waypoint requires reversing.