That sounds awfully complicated.
Properly organizing and naming the files will usually do the trick… in case you had been renaming a file back-and-forth, a Plex Dance can help resolve getting any mix-up fixed.
If embedded metadata is messing up the matching and you don’t rely on it elsewhere, simply disable the preference to prefer embedded/local metadata in the advanced library settings.