Fixed editing event and grouped event.