Markdown export links invalid

When I do a markdown export the links between notes are broken. The exporter names notes by their title, but the link format uses the note’s id and an invalid path.

For example, a link in an exported note will look like:

[Work Environment](:/3ed62ee876dd40d5a6a6f071dd65b697)

However this file has been renamed from 3ed62ee876dd40d5a6a6f071dd65b697 to Work Environment during the export so this link does not work.