added serial check to CompareTwoQueryInstancesByComparisonFile