Fixed Class Casts in NMTopRecommender