Fixed issue with converting custom field values when upgrading.