Its working just fine. Think about 'tagging'. It's done by generation of enmity to a target first when no previous value existed. If a mob is simply chasing a player of its own aggro parameters then it's still technically available to any direct enmity 'tagging'. Now you come allow and heal the mob's current target which generates enmity with the mob. No other value existed and now you have the tag.