Only print non-empty category names.