Fix reverse lookups in index.

Fixed the index so that it refers to the actual paths of the resource URLs.