Added check to skip over empty alarms