Fix crash in BuildStageOne()
Fix crash in BuildStageOne()

Remove assumption that all match results are in consecutive order. Need to explicit check for null in g.Matches in loop.

lmno/cupster,lmno/cupster,lmno/cupster