Fix an off-by-one bug in multi pv print