Set gid to maximum value accepted by Solr, Fix private data request counter