Confirming we are not attempting to traverse a node in the sequence
group that was already maxed out.
Bug fix: SchemaStateMachineNodes can represent cycles, so one cannot
perform a deep equality check or hash code generation.
Whitespace change to fit within 80 characters on a line.
Local equality and hash code checks for DocumentPathNodes and
PathSegments.