Added a line to the second script. I'll add it in here as well, in bold. This made the effect go away when I would unequip a piece, but then it wouldn't come back when I reequiped.
Nevermind. Got everything worked out. Was a simple matter of changing removespelleffect to removespell, after adding that first line.