Fix getdescendents.