Fixed alarm off bugs…-1 is not a valid number when it comes to alarms, 0 is for invalidation.