Fix checkbox not populating correctly when 'model()' was used