Fixed a critical bug in the recommendation scores