Fix errata indexing