I've not played in a while and just started again. I stopped because of this glitch and sadly it still happens, so I guess I'll stop again.
As soon as I start winning and while attacking with a large army I lose connection. When I return my army has turned into the enemy army. Therefore they can now win.
In my last game I was lucky enough to have enough to keep fighting but I was in effect killing my own troops.
I've posted before but there's not been a reply. Shame. I can't be the only one!