Delete extraneous targets