Fixed bug 2874, duplicate problem.