Add additional value type checking for integer.