Mercenaries upgrade not goin through but consuming coins

Upgraded mercenaries, coins were taken but the upgrade was not given. I attempted to upgrade the same ability twice. The first upgrade went through, but the second did not (coins taken by no second upgrade). I relaunched the game and I was still missing the upgrades and spent coins were NOT returned.
To note this was done while editing a party.