item_recommendation: improve CheckParameters()