Change term treeview behaviour, fixes #5404

Top level term can't be collapsed now