Check for repeating elements

Before this fix, it's possible to see repeating results in suggesting box