[Patch/minor] If there are no metrics in a category, that category isn't added to the final buffer.