Even if there are no other segments in the line chain, we still should check for arc connections in cases of individual arcs on a line chain (cherry picked from commit 6b915049d1)
6b915049d1