fix of RavenDB-1764