Fix bug 3180, wrong answer.