Fixed problem with Smart Grid max_columns.