Fix bug in input::form_checkbox and input::form_select