name-rev: fix parent counting.