Fix bug 1071277 - Remove DISINCT clause