TMDM-7143: "Creation shouldn't take into account empty elements in case of inheritance"

Elements with no child shouldn't be considered as save-worthy (even if they have attribute values).