made it so categories only appear if they contain parts