Bugs fixes to adding destroyed nodes again

Needs to be tested since I did these before damage on nodes was working
again.