Fix alarms not resetting after first alarm.