Fixed a typo in confidence calculator