Fix for chi2 test.