Fix losing grid parameters in the request that loads stateful grids