Fixed bugs in column_max_width.