Does anyone have a better idea?
There are multiple posts on SO like Force a checkbox to always submit, even when unchecked, which has an answer that suggests adding a hidden input with the same name as the checkbox and the opposite value (e.g. "no").
<input type="hidden" name="checkbox1" value="off">
<input type="checkbox" name="...