Items state is now indexed by index instead of id. Sounds obvious when I type it out like that.