Make sure null categories are not rendered

Fixes #179