I had the same thing happening for me on my shamans thats why i used "party1" or "raid1" in the macros. Seems to work for me, I noticed the name targeting problem occurring the most when it was a dead shaman with the reincarnate option up.