Avoid duplicate search result items at the end