I think you also need to persist the `inEvent.beforeId`, and call `this.insertItemBefore()`, similar to `createItem()`.