Fixing NPE while saving coded allergies - RA-344