Instead of using a tree stage, change the Selection Data to a custom subset.
In the Selection Project panel, click on Custom: Define your own subset... in the Select From menu. In the Custom Subset dialog, select or clear the check boxes beside a material record or folder to include or exclude it in the custom subset.