library-pane: Hide empty categories.