Change nodeIsClosed to nodeIsOpen.

Makes life easier