[Bug] Village cost counted twice

I upgraded a village, and I suspect I inadvertently click on the build button twice in quick succession. I think what happened is that the cost was counted twice, then reimbursed once, but the village building canceled. What is sure is that after undoing all my build orders, I had 8 food, 4 wood and 2 metal less than I was supposed to have according to the player screen. Those resources seem to be lost :frowning:

(This is using the web interface on a laptop)