Fixed a few bugs around repeated games