RavenDB-2812 Fixing Distinc queries (in particular DistinctWithPaging test)