LogicSegment: Check upper bound when performing edge search