Bugfix: don't try to access values of check boxes when the boxes are not
on the rendered form.