Added validation for products in model