Effect of outliers on regime shifts in correlation