Avoid errors for missing attributes on export