Fix ancestry/descendancy traversals; closes #19