Fix bug with saving bookmarks when we continue from a lastmark