Encode lineage correctly even if no traits