Fixing group scan when mongo is configured standalone