If a value is nil, assume it's a number field (not a boolean field as before)