Fix another bug that prevented working enums in GUI