Somehow it got installed twice (perhaps double-clicking the install button), and when you hit remove, it only removed one copy of the code.
Go to the mod's page, select 'Parse' on the right and it'll show you all the operations that get carried out to install the mod - do them in reverse.