Modification of list_events to handle multiple versions of events

Hello,
this fixes #244 adding a new event flag.

Best regards,
Alessandro