Fix some smart quotes logic.