Keep the last buffer by default when undoing