Fixed: removing last item in category does not remove category