Fixed Add, Delete Column undo/redo index error

bug for reactions table