please take a look at this forum post and you can read other answersas well, to get more info on what is supported or not:
Basically, you have two limitations regarding components ↔ query filteres:
Query filter element should never be inside the component
You can only connect query filter element to the query, if it’s defined on the main (top) element of the component, but not if it’s defined inside, like in your case.