Made remove_snapshot_node not incorrectly assume that all of children_ are non-NULL.