Give nicer error when index not found.