Duplicate entries in Default applications

I removed thunderbird and firefoxs default dnf based installs and replaced with tarball installs e.g.

However I have duplicate entries for both under settings, default applications even though the original versions have been removed.

How do I clean this up.

Might actually be unrelated to the above as reinstalling via dnf still leaves two non functional entries.

I also tried deleting the symlinks incase the binaries where being detected twice, but that is probably wrong, I assume it is reading .desktop files.

That was easy.

Didn’t realize desktop files can also be in

Deleted them and we are golden

NOT just

Found the rogue files