editor.js: fix bug with author removal from affiliations