The same word can be in the index more than once for the same note because the word could appear twice, we need to filter these.