This fixes #8377.  The export works now.