Fix bug in recommendations.