Fix bug in Forms when virtual attribute has assignment function in Model