Fix printing past events multiple times