What version are you using ?
In 5.026 if I have the box for NKDA checked and confirmed and then reopen allergies and then add a checkmark to an allergy or add allergy it automatically removes the checkmark from NKDA, if I have NKDA non-codified (old allergies) and I click on it and hit remove it goes away - how exactly are you trying to do this ?