Corrected airplane warning mode checker.