fixed bug with skills graph

- viewing results of an exam with items that have no skills associated
with them shouldn't produce errors and display an empty graph now,
instead the skills section is not shown at all