Fix for fetch_events task