Fix for inviting by character name. Also set priority to character first, then player.