deduplication of index results workinf