Incorrect wire drawing when Flatten Route in Solidworks Electrical 3d

Hello, 

I have an incorrect wire drawing when Flatten Route in Solidworks Electrical 3d. 

What is the reason for this? How can it be fixed?