Adding a hack to prevent garbage collecting nodes while clearing the node attribute table.