Better handling of checkboxes in Pg.