Fix Model.Value setting bug.