Corrected a bug for dealing with array columns