Fixed validator involved in adding food