Fixed the old adv.dupe fixer script.