Fix validation for rest_cat.