fix cardinality owl restrictions in generators