Replace check in IsSingleTargetWith
Old check was SpellFamily and SpellIcon, new is IsRankOf,
which seems to make more sense in that context.
close #8290
Merge pull request #9230 from FH3095/IsSingleTargetWith

Replace check in IsSingleTargetWith