Forgot to clear checkBoxStates.