Took our empty and undefined values in the allergies array and cleaned up text so that it has to contains alphanumeric characters before being added.