Added params and filter to upcoming_events query