Fix SegFault on type filtering in dlg waypoint selection