Cables Over Cables UV Problem?

Hi All, I am working with an example I found on this forum and I am trying to "fix" it so I can use it for rendering. The concept is that you have a series of curves that are processed by a FOREACH. Inside this FOREACH a second each fetches the result from the previous iteration. The problem I ha...