Fixed epsilon merging to handle the special nodes.
Fixed single-path merging to account for self-loops and special named nodes.