Sweep ignoring corners?

 From:  duke
I expected a different result to this. I could blend them but it won't be correct (i'd have to manually pull in the ends so they met at the correct place rather than through each other). Is there a different tool or way of doing this that takes into account corners?