The second is not from the search …
It’s because one item said it’s artist was X and that X was not returned in the search so I ask for the details to see what it is and I try to match with one of the artist found if it’s possible or not (It’s sometimes not as the mbib one have name variation)
There is media associated with both ids, I have no way to know the principal, and if there’s a duplicate but no item associated with it I don’t know and so can’t request the other one. And can’t do 3 requests per artists during sync to guess things it would be too slow.
Again this is one of the many well known issue of Jellyfin, it was reported, they have told me absurd reasons to not fix the API, like we don’t add new fields on returns when they added dozens and that as a closed source app author I should die (Paraphrasing but resume the idea).