bug fix for checking if a segment exists on a node
2 files changed