Fix bug in judging answer.