Fixed a bug with nested collection types that are not lists or maps or value containers