Undo index change