Describe the bug
Search history suggestions are duplicated instead of being moved to the top.
Expected behavior
To not see duplicate search suggestions.
Steps to reproduce the behavior:
Screenshots
Expected behavior as in 3.1.3 ("wiki" is at the top, followed by "kiwi"):

Actual behavior (5 copies of "wiki" and no "kiwi"):

Environment
Yea I feel that only unique searches should be shown to the users, and moved to the top if it's a duplicate search history. If this gets approved I'd like to work on this issue
Yes I confirm this is an issue. Unless @danielzgtg wants to work on this you are next in line @deborahlow97
Unless danielzgtg wants to work on this [鈥
No, I can't contribute code until May, so go ahead
You are assigned @deborahlow97