Fix indexing diff