You can check on Only Free Connectors, shown at the bottom of the figure below, to make only nodes and connectors used by a single domain pickable for merging.