set_check_field() didn't do anything

`set_check_field()` isn't setting the value in the correct scope.