Fix a chi2 bug for Method2 in 74X

There were bugs fixed in 73X (PR#6855) and were ported to 74X (PR#6891). However there was a remaining part fixed in 73X but not in 74X. This PR is for this fix.