I have reservations about strategies that exclude paths like that. It doesn’t seem that a process requiring exclusion of various paths is scalable. It can lead to quite complicated and increasingly brittle queries as the number of paths to be excluded increases over time, multiplied by the number of queries that must exclude them.
I already experienced this very quickly with tracking tagged tasks for individual people and projects using embedded queries in their notes. Every time I added one note that needed to be excluded it required an update of N notes containing the query, where N was becoming increasingly larger. And since the queries were almost identical except for the person-/project-unique identifier they had to be updated manually, which became tedious fast.
It may work for now in the small scale but I’m not sure this is a great long term strategy.