Add "Is contained by" and "Is not contained by" conditions to automation actions.
These will complement the current "Contains" and "Does not contain" conditions and make a lot of automations much easier to build, reducing the need for complications like linking chains of automations.