Fix notifying about past events

It notified even if the event had not fired yet.