Deleting a record leaves dead references behind

I was cleaning up duplicate companies and deleting the dead ones, and noticed the records that used to reference them still carry the link afterwards. The reference doesn't clear. It keeps pointing at a record that no longer exists, so the relationship still looks populated until you click through and land on nothing.

It made cleanup feel risky. Every delete potentially leaves a phantom link somewhere I can't easily see, and nothing surfaces which records still point at the one I'm removing. For now I sweep the referencing records and strip the links before deleting, but that only works when I already know where they live.

The recycle bin thread covers undoing a delete, which would help, but the gap I keep hitting is the leftover side: clearing the references on delete, or at least showing me what still points at a record before it goes. Curious how others keep relationships clean when they delete at any volume :)