Fixed issue on export database with links in embedded documents
Fixed issue #1541