If the query contains a condition group argument with no groups inside, the `foreach` loop in `addConditionGroup()` may emit a warning/notice.