Added validation on selecting a Parent Category when adding subcategories