Fixed an issue with 'auto'.
Fixed an issue with nested grids.