[DF-4911] - refactoring of Delete Nodes functionality.