Fixed delete row undo/redo bug