Get field type correctly in `xprofile_set_field_data()`