Ventilator settings to avoid nuisance alarms during mouthpiece ventilation