Fix PGN parsing; it was broken by a scoping change.