#27530[TASK] Cleanup unnecessary calls to reset() or current()
Description
It’s a myth that calling reset() before looping with foreach()
makes any difference. And also calling reset() before fetching
the first element with current() afterwards is somewhat
redundant.