Fix list_rank_mf signature by explicitly using std::vector