Fix set value handling in `lazy`