update_score: handle multiple attempts (ExamRecord rows) (#1449)