Fix bug in which GetMass1 and GetMass2 do not work if '_mass1_mass2 ' pattern missing in model_params.