Adding logic to split upcoming events vs past events for admin event page