private static ArrayList<TreeContainerRow> getTreeContainerRows(Collection<TreeRow> rows, boolean includeChildren) {
		ArrayList<TreeContainerRow> result = new ArrayList<>();
		for (TreeRow row : rows) {
			if (row instanceof TreeContainerRow) {
				TreeContainerRow container = (TreeContainerRow) row;
				result.add(container);
				if (includeChildren) {
					container.getRecursiveChildContainers(result);
				}
			}
		}
		return result;
	}