Under some conditions the Exclude search function does not work

Iā€™ve seen this same behavior when I tried to a tag like ā€œ#noprintā€ to hide parts of the doc I didnā€™t want to display when printing. If the tagged item had any children theyā€™d show up anyway.

Thereā€™s a great discussion over on another thread about being able to search for (or exclude) nodes whose ancestors have a certain tag. If that were implemented it could be applied to this use case too.