Check if it is equal to array_i-1