Fix quotes replacement not being correctly done.