Preselect main checkbox if others are checked