ungroup/unwrap throw exception, when same attributes in inner and outer