Scripts/ICC: fixed situations when LK tried to cast Necrotic Plague on pets and then Necrotic Plague was omitted

(cherry picked from commit 3d3dafbe380054ef60cbf99658aa42c442b01693)