Fixing prediction indexing