MODE-2284 Changed the importer logic to handle replacing nodes that are referenced by nodes not affected by the import.
Merge pull request #1229 from rhauch/mode-2285-3.x

MODE-2284 Changed the importer logic to handle replacing nodes that are referenced by nodes not affected by the import