As an experiment, I loaded up https://tiddlywiki.com/, changed the TableOfContents tiddler to have this:
<div class="tc-table-of-contents">
<<toc-selective-expandable 'TableOfContents' exclude:'[tag[done]]'>>
</div>
I then changed the Videos tiddler to have tag “done”. While this excluded the Videos tiddler under the Learning tiddler in the Contents tab, the “expandable arrow” disappears too, which seems like a bug?
If I remove the exclude clause (or the “done” tag), then it reverts correctly and the “expandable arrow” is back on the Learning tiddler title.