Use uniq in histories