Clean cookie after undo.