Fixed an issue when qvalue() fails due to an incorrect estimation of pi0