only delete edges if action has "target" attribute