Wrong array used to delete nodes.