Fix a crash if there's no configured alarm