The really odd part in that one was that when that one was over, the Attackers had then two upgrades^^, where as in all other encounters when the Defenders won, they only ended up with one upgrade ^.
I've once entered into a classic battle with matchlocks that I put one upgrade, but once the battle started they all had 2 upgrades..