The same error could be in other places. I had to change the internal logic in Optionable. The old code allowed invalid values to be used.