Attempted to fix error that deleting an non-existing node

* Reloading the list of nodes&clients before deployment to make
sure we can correctly detect the existence of node/client before
deleting it.
* Fixed a bug which kept the deleted node on the list.