changed automatic profile selection to prefer known profiles in fallback solution (refs #337)