Bugfix: alarm check decrements first.
Merge pull request #795 from sorlok/alarm_step

Bugfix: alarm check decrements first.