Fix toggling all checkboxes for db maintenance