Correcting lookup/assignment of persistent records