Fixed bug 2815, duplicate problem.