A new bug in War2BNE InSight 1.03a

Some replays cause Warcraft II BNE to crash with an error message "count.c (1)" followed by two numbers.
Let me try to explain, when this happens (it's a kind of rare and hard-to-explain scenario, i hope you get it :))

War2BNE InSight does not restore the original game properly, if there were players in the game, that chose the "Human" Race or got "Human" because they chose "Random". Players start with 1 peon/peasant or (if you chose "Units: Map Default") with certain units and buildings depending on the map design. If a "Human" player looses units or buildings of a type he had when the game startet and the number of the units or buildings he has of that type falls below the number he had of that type in the beginning of the game, Warcraft II BNE crashes and shows the "count.c (1)" error message.
In "Units: One Peon Only" replays this bug occurs, if a "Human" player looses all his peasants.
Furthermore, loosing units and buildings not just happens, when they are killed or destroyed. Finishing certain upgrades also causes a player to "loose" buildings or units of a certain type.
A Townhall becomes a Keep, e.g. in the moment the player finishes the Keep Upgrade, he "looses" a Townhall and "gets" a Keep. Upgrades with that effect are: Townhall -> Keep, Keep -> Castle, Watch Tower -> Guard Tower, Watch Tower -> Cannon Tower, Knight -> Paladin and Elven Archer -> Elven Ranger

Gothic Horror sent me a replay on Cramped BNE.pud that shows this bug. Since this is a "Units: Map Default" game, both players start with 1 hall and 2 peons/peasants. When pimp-juice, the "Human" player on the bottom left of the map, finishes his Keep upgrade (at 00:01:48 game time), he has fewer Townhalls, namely 0, than he had in the beginning of the game, since his Townhall turns into a Keep. Warcraft II BNE crashes and shows the error message "count.c (1) 74 0".

I will fix this bug asap.