Fixes the fact that alarms are not send on new events.

Signed-off-by: Michel Verbraak <info@1st-setup.nl>