Bug fix in export view.