Essentially you can't use <t> and <tt> in a healing macro. If you put <t> first, any time you try to cast with an enemy targeted the spell will heal you. If you put <tt> first, any time you try to cast with an ally targeted it will try to heal whatever they are targetting; if that's an ally the spell will heal them, but if it's an enemy the spell will heal you.