small bug fix in doc_selection_method 1