Bug in confidence interval estimation