`grabs.infohash` is unique and grabs point at their target polymorphically, so nothing cascaded them off a deleted movie or series. An orphan holding an infohash then blocked the row a later grab of the same release needed: the upsert only reclaims a `vanished` row, so the insert did nothing while the new title was still flipped to `downloading`. It never imported, and `/api/downloads` attributed the torrent to a title that no longer existed. Deletes now clear the grabs, and the upsert also reclaims a row whose target is gone whatever its state — which heals the databases that already have orphans. A row belonging to a live title stays off limits, so the restart case still cannot let one title steal another's torrent. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>