Keep names-cache-db sane when deleting/updating tracks.