Fix for getting game totals.

Fixed upper limit of range in get_game_totals().