Fix string indexes not being update after erasure. Fix quoted string
issues.