Replacing invalid quotes.