Replace check in IsSingleTargetWith
Old check was SpellFamily and SpellIcon, new is IsRankOf,
which seems to make more sense in that context.
close #8290