Fixing a bug with the rarity comparator that made it impossible to switch back to no rarity filter