Fix error in string parser failure case.