Make sure to delete the rows when we delete a node from the root network.

Change-Id: I417013c2e0f7d1428289549b47a738ab6a3ab2c9