do not display duplicates when searching for history entries