Remove empty categories from the section view.