Merge pull request #8068 from lodr/bug-840603-past-alarms

Bug 840603 - Autotriggering past alarms
Cuse r+(cherry picked from commit 194d07eb7856bceeb8b64579f9c85976debaa547)
(cherry picked from commit 731d5705ed66fc76852702bd0de28f481cd6eeb0)