User search history tracked properly and kept in order when user repeats searches