Fix a error for empty problem id detect.