MIDI export - Text event - Key signature exported only in Minor/Major

Its a minor issue,
The exported midi files have a Text event at the beginning called “Key signature”, and if its in any key other than exported Minor or Major, it will be described in as the relative Major key.

For example an Eb Mixolydian will have the text event - Ab Major.