Adds additional checks for integer values