correctly determine default value for boolean widget #9675