Sometimes, the peak percentage of map controlled happens to be smaller than the final percentage. This i guess (i've not checked that part of the code) is because the PlayerDefeated message is treated before the TerritoryChanged one, and thus the peak percentage is not updated for the final gain.
With the patch, the peakControlledMap statistics are independent of the order of such messages.