Fix off-by-one error in pie chart data

A pie chart with exactly 10 contexts would show up with 9 contexts +
(other).