fixed a Field.INTEGER reference to use Field.ValueType.INTEGER when
flattening field values