moved deleted record sanity check in the harvester library