Modification of list_events to handle multiple versions of events