Added a corrupt food checker to AddFoodItem.