Edge flanges/miters don't like wedge-shaped parts.

Any ideas on how to improve on this model?  So simple, yet I tried several methods and kept not quite getting it.  Miter flanges won't cross the bend onto the wedge shaped vertical part.  Edge flanges won't auto-miter.  My solution works, but was a lot more work than just drawing the thing flat...

SolidworksSheet Metal