RavenDB-2812 Fixing Distinc queries (in particular DistinctWithPaging te...

...st)