Remove unnecessary uniq.