Fix validation when adding products to groups in mongo