Add clarity improvement to ConfigProblem() by moving an enum to global.
Suggested by wei2912.