Fix #2: Avg utility calculation wrong if numiters > 1