Delete the right key when undoing.