Fixed getChains() method in MultiTree.