Fixed bug in setValue for form layouts.