Keep shared pipeline nodes
Returns the nodes from the first pipeline whose names also appear in the second.