Fix bugs with verification of columns