This is due to 2 walls vertically colliding, and the 2 references lines of those walls being in the same location. When two Walls overlapping and collide like that, they try to connect.
If you prevent the vertical collision, it will be ok.
James Badcock
Graphisoft Senior Product Manager