Fixed issue on export database with links in embedded documents