Enable string->int coercion optimization.

Notice, this does not work well with the formRestrictions constraints.
Add support for formRestrictions in the string->int coercion optimization