Fix minor bug for delimited string parsing