Fixed config warning

Hint Bug: assumes all items belong to one exam. Some items that were
initially created belong to multiple exams. getExamFromItem returns
first exam to contain item which may not be the right exam id