Fix isConsistent index