On line 1344 of spells.cpp add the red portion
Code:
if(spell_target && IsDetrimentalSpell(spell_id) && !CheckLosFN(spell_target) && !IsHarmonySpell(spell_id) && spells[spell_id].id != 982)
It isnt the most elegant way to do it, but it is simple and it works.