Fix sql quotes.