parse_value should not accept float for int fields