Fix harvesting inverted trees