Fixed saving logic for adding via csv.