Fixed pain config to correctly use default config from machine config for blank profiles.