TreePath pathToBranch = new TreePath(root);
for (int x = 0; x < stringsToBranch.size(); x++) {
BugAspects child = toBug[x];
BugAspects parent = (BugAspects) pathToBranch.getLastPathComponent();
if (getIndexOfChild(parent, child) != -1) {
pathToBranch = pathToBranch.pathByAddingChild(child);
} else {
Debug.println(parent + " does not contain " + child);
throw new BranchOperationException("Branch has been filtered out by another filter.");
// break;
}