fix add maximum k_best to the list if not already in it

this lead to a crash when n_features was already in there