Fix in preference score comparison