Disabled ref integrity in deleteRec() and simplified recIsStored().