Flatten nested queries generated by OData $skip and $select combinations.