MIsched: cleanup code. Use isBoundaryNode().