It's difficult to know whether it'd be better to check docId and revId here, to be more semantically accurate. But I imagine the object they pass back will be the same as the object in the revsArray, and I don't know whether it's worth us having a more detailed check. It's probably worth making a note around why we're just doing pointer comparison here.