Fixed ordering of events on agenda page.