Fixed NPE when there are no scores yet for an assignment.