Small fix to speed up string parsing.