Fix bug causing some delimiters to be misread