Improved outlier detection