Bug fix on updating sentiment score.