Corrects bug when processing 1x1 matrices in seq_array_ind