To document a behavior and its solution for Group searches.
Potentionally undesirable behavior of the toc macro displaying the system tiddler $:/config/NewTiddler/Tags created by the Control Panel setting "Tags for new tiddlers".
The toc macro by default doesn't filter out system/shadow tiddlers which isn't an issue for the average user that doesn't tag system/shadow tiddlers with non-system tags.
The Control Panel setting "Tags for new tiddlers" tags the $:/config/NewTiddler/Tags tiddler with the tags you enter in the setting, resulting in $:/config/NewTiddler/Tags appearing in any toc macro that uses those tags.
The behavior is easily solved with an exclusion in the sort parameter of the toc macro...
<<toc-expandable "Contents" "!prefix[$]">>
https://tiddlywiki.com/#Example%20Table%20of%20Contents%3A%20Sorted%20ExpandableScreenshot below shows the $:/config/NewTiddler/Tags entry appearing in a toc macro listing. Don't let appearances fool, that is a TW with a custom sidebar tiddler with a single toc macro. Buttons in the top right toggle between custom sidebars and standard search box/tabs sidebar (done with either reveals or manipulating of $:/tags/SideBarSegment tag of sidebar segments).
