Fixes #3420: allows to remove node
Merge pull request #160 from fanf/bug_3420/remove_node_leads_to_deployment_error

Fixes #3420: allows to remove node