Fix for non-unique parameterization (for instance symmetric matrices)