Fix error introduced into GP_regression when doing name changes.