Fixed a bug where a game's num_pbs could become incorrect after editing an existing run