Fixes issue with disarmed alarm firing.