Increase history size and erase dups