Fix a bug in computation of jackknife variance