Here’s a simple workaround I’m using to generate random enums with correct value thanks to multiple return function in 4.9.
Have a look if you need.