Added corrected record processing code for game ID