rewrote check_nodes to not delete nodes since then we have to deal with
properties and such.