Undo logging second iteration