Don't store failed tasks in the index.