fix recommender get_all_rows distribution mode to random (fix #683)

Fix for #683