Made sure node deletion triggers updates on related nodes.