anchor.diff:  	"AoMeasurement": {
   		"$or": [{
   			"measurement_begin": {
  -				"$gte": "2012-04-23T00:00:00.000Z"
  +				"$gte": "2012-04-23T00:00:00.000Z",
   				"$lt": "2012-04-24T00:00:00.000Z"
   			}
   		}{
   			"measurement_begin": {
  -				"$gte": "2012-05-23T00:00:00.000Z"
  +				"$gte": "2012-05-23T00:00:00.000Z",
   				"$lt": "2012-05-24T00:00:00.000Z"
   			}
   		}{
   			"measurement_begin": {
  -				"$gte": "2012-06-23T00:00:00.000Z"
  +				"$gte": "2012-06-23T00:00:00.000Z",
   				"$lt": "2012-06-24T00:00:00.000Z"
   			}
   		}]
  -	}
  +	},
   	"$options": {
  -		"count": 1000
  +		"count": 1000,
   		"skip": 500
  -	}
  +	},
   	"$attributes": {
  +		"name": 1,
  +		"id": 1,
  +		"test": {
  +			"name": 1,
  +			"id": 1
  +		}
  +	},
  +	"$orderby": {
  +		"test.name": 0,
   		"name": 1
  -		"id": 1
  -		"test": {
  -			"name": 1
  -			"id": 1
  -		}
  -	}
  -	"$orderby": {
  -		"test.name": 0
  -		"name": 1
  -	}
  +	},
   	"$groupby": {
   		"id": 1
   	}
  
positive.code: [source,json]
  -----------
  {
  	"AoMeasurementQuantity": {}
  	"$attributes": {
  		"datatype": {
  			"$options": "e"
  
negative.code: {
  	"AoMeasurement": {
  		"measurement_begin": {
  			"$between": ["2012-04-23T00:00:00.000Z", "2012-04-24T00:00:00.000Z"]
  		}
  	}
  }
  