if examscore record isn't there, then ```es``` isn't set but will be used later (line 122) that will cause a TypeError.  Seems like we should either create the row here, or change that later logic to look for es = None and handle that case.