How to handle dangling references to deleted records

No suggestions to tackle this problem?