Fix unwind_plan test conditions (could result in NULL memory access).