Added category delete validation for categories with children

Now cannot delete categories with children.