Filter subpages in blueprint pages field query

If you do subpages: false this indeed works but if you do subpages: true then the filter only works on the first level.

For example. I have a subpage “this should not be here” with template “whatever”. When i filter on index with subpages: false I don’t see it, like expected.

query: site.index.filterBy('intendedTemplate', 'in', ['home', 'default'])

CleanShot 2021-02-07 at 01.34.38

But if I use that same query with subpages: true and I go to the subpage, I do see that page.

CleanShot 2021-02-07 at 01.36.23

CleanShot 2021-02-07 at 01.36.53

But I don’t want to see that page there. I only want everything with template home and default.