Modified confidence intervals for the Mahalanobis distance