Avoid duplicate search results by using SELECT DISTINCT when filling the SEARCH_EVENT...