AVALANCHE: Repair array indexes in Timeout and Trip.