I would say that we should look at the last one (which will likely be the same index as the first and only one), because `id` of null will have >1 to compare with.

```js
stored = thread[thread.length > 1 ? thread.length - 1 : 0];
```