fix optimistic diff when b appends identical value