fix for BigM's directionNode

fixes #36