distinct results with autocompletes, fixed #269