Hide Products from Parent Categories on Results Page



I want to know how can I hide all the child categories from the parent category filter?


Clothes > Jumpers >
Clothes > Jumpers > Small

In the filter results - all items in “Small” will be shown in the “Jumpers” filter shown above.

How can I hide this?