Fixed getProblems and problem checking behavior