Fix: query for events in ascending order