Finsweet Attributes - Clear sub filter when unrelevant primary filter selected

Hi!

I use Finsweet attributes to filter a collection list. For filtering I have a main category and when clicked on “Commercial” I use a interaction to show the sub category filter. I can then click on a type “Food” to continue narrowing down the filtering. My problem is when I click on another main category the sub filtering for “Food” is still active. Does anyone know how I can clear the sub filter when changing to another main filter? I have tried different solutions without success.