Correction made so past events not displayed