Move doCloudQuery to AV.Query