Use curly braces even for one-liners, and add parenthesis for next since it has side-effects. i.e.

```scala
if (groupingSetsPresent) {
  newKeysIter.next()
}
```