Fix bug for duplicate recommendations in pages/results.haml