Well, if anyone else has this problem, I am posting what I did to get it to work (since apparently, no one else has a better solution)

Since my mime was b0rked, I decided to delete the folder ~/.local/share from my PC.
the exact code is
rm -R ~/.local/share
ATTENTION!!!The above code contains the rm bit of code and should not be run unless you know what you are doing.
It is put here for clarity's sake only, if you need to delete the mentioned folder, I advise using nautilus, browsing to your ~/.local and delete the folder share from there.
You've been warned!