Use correct tuple when indexing error messages.