Fixed edge index creation; improved schema creation overall (mapping over type-sets with precise types)