but does this actually check that invalid target is not added?