Use search key of "species.id" instead of "tree.species", fixes #402