Fix item rarity achievements, store all non-junk items in history.