try{
// if only 1 sequence in bin or processing the "unique" label, then
// the first sequence of the OTU is the representative one
- if ((names.size() == 1) || (list->getLabel() == "unique")) {
+ if ((names.size() == 2) || (names.size() == 1) || (list->getLabel() == "unique")) {
return names[0];
}else{
vector<int> seqIndex(names.size());