Flat pattern not correct

I am using trim side bends option when making a sheet metal flange. In the model it removed the excess material in the corner as it should but it disappears when I make the flat pattern. I have simplify bends and corner treatment unchecked in the options, but I have tried it with and without and it made no difference.

SolidworksParts And Features