Minor xml export fix