Fixed delete insert and update events in history events