Remove all existing targets before scanning for new targets.