Make sure value is synced with fields.