Fix FoodInfo database functions