fix condition to display "No past events"
Merge pull request #23 from maxired/patch-1

fix condition to display "No past events"