Not entirely sure it'd work but you could try this...
Unit casts the ability, put them into group, periodically change the unit size of all units in the group (check the level of Avatar), if the unit doesn't have the Avatar buff remove them from the group and set their size to 100% (default). That might work?