[DDC-2340] Fix bug with dirty collection matching + ordering.
Fix change in signature for hydrator statement mock.