changed location of query flags from DataServiceMembership to DataService