Don't save undef to 0 as edit_history in checkboxes