Fix a bug in outlier removal when std is too small.