added check for removing all categories with pricing #233