if (copyTree->tree[rc].getRChild() == -1) {
//if rc is a valid group and rc has a BL
if ((inUsersGroups(copyTree->tree[rc].getGroup(), groups) == true) && (copyTree->tree[rc].getBranchLength() != -1)) {
if (copyTree->tree[rc].getRChild() == -1) {
//if rc is a valid group and rc has a BL
if ((inUsersGroups(copyTree->tree[rc].getGroup(), groups) == true) && (copyTree->tree[rc].getBranchLength() != -1)) {