Bug fix for removal of comments during export.