RavenDB-2609 Make sure that we compare with the original document