Fix issue in parallel mode export introduced in recent commit.