Fix tree on integration tab, still need to sort a few things out post-refactor