Allow non-scalar values to be validated in Enum

If the user specified an array in an enum choice, then a PHP "Array to string" conversion error was given instead of the expected Exception.