Fix bug where non-recurring events were always showing