Fixed writtenTypeElementsInCurrentRound: Do never write types with
dependencies to unknown types as long as there has been written any type
element in the current round (NOT: layer)