I had the same thing on Monday. I've raided for a couple hours, gathered about 800k food, didn't manage to stay online and got attacked. Now, the attack was successful and took 126k food but I was left with about 200k. So the question is where the remaining 474k has gone. Didn't pursue this due to time constrains but it was a noticeable glitch. Hopefully a one time roll back or something. But if it is a remaining and persistent glitch, happening to a wider population, it is probably worth looking into.