BUG: sparse: fix logic error in DOK getitem

Since i, j can be arbitrary, also for small NNZ one needs to look up
which index in i, j it corresponds to.