More complex query builder logic is the price of correct queries.