When I set up grouping by component (or even labels), it filters the top level items correctly into those groups.
However all child items of the those top level items are shown even if they do not match the group by filter (but exist in the overall plan query results). In the below one, ideally only the second epics should be displayed?

