Corrected backwards-indexing