Fix some issues related to edition and reply of events.