I was looking through the values of the food and noted that the potato is the only fruit that gains volume going from fresh (369 units) to rotten (396 units).
Normally the fruits loose volume, only the tomato keeps its volume. It looks like a typo, I suggest a dev checks the values.