Well, if spell drains 50 and unit has 45, I think it'd be best to not "touch" those units. Generally, enemies in my map rarely run out of mana so they'll always have that little to become affected by the spell.
One more thing tho, if the hero has a certain item called Moonchant Gem, the spell should update to cause heroes, ally or enemy, to drop two orbs instead of one.