fix allow empty NodeSet

to allow flattenAll to prevent entities that only have a Submodel
attribute from dissapearing
DSL syntax: Model(Feature("x") has () ) == Model(Feature("x"))