My lofted bend with an edge flange won't flatten! What am I doing wrong?

I was able to draw what I wanted in sheet metal but now it won't flatten properly. Does anyone know what I am doing wrong? Any input would be appreciated. Thank you

SolidworksSheet Metal