The Ranged weapon attack "macro" was using WeaponSkill to determine the Target. I have changed it to use the BallisticSkill.