Fix issues with note markdown not being updated on edit.