That's not about RTD setups. What you are using there is an API-based script that displays templates, so the rules to show/hide something should be done in the coding of the template browser itself.
Something like "if there's only 1 subcategory then do not show it".
Get in touch privately if you need assistance in doing so.