Fix bug 2726, duplicate problems