[dev] Query for the Advanced Search Criteria