Fix NPE in harvester tree mode