Suggestion: a more meaningful name here, since "checkRecord" doesn't sound like this will have side-effects.  "deleteRecordIfUnverified" or similar?