Attempting to fix bug in estimator edit function