value may not be a string. int to enum is as valid (or more) then string to enum.

Let me see what I can do.