add defensive hack to creation of recommendations to ensure that the lowest id is chosen if there are duplicate projects