FIX: prevents rendering topic-category if empty (PR #9720)

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/missing-field-itemlistelement/150747/5

@udan11 for context https://meta.discourse.org/t/missing-field-itemlistelement/150747