Sweep bug

 From:  niko (NICKP100)
It seems that I'm unable to perform this sweep, I guess because it has hard corners. The profile with the rail is located on the left, the one in the middle is the MOI result, and the desired outcome (I had to do it in Rhino) is to the right.
Michael am I doing something wrong? I noticed that it's halfway working with extrude but still not the desired outcome.

EDITED: 25 Apr 2009 by NICKP100