SERVER-85178 merged without conflicts but the result wasn't quite correct for fixes to BinData. This lambda needs to be updated to only update state for the last buffer:
I don't believe this is a bug that can actually be hit from SBE, but it could affect things moving forward as SBE supports pushing down more paths.