Bugfix in typeDescendants call.