Avoid possible index out of range on parsed quotes.