Fix the context roots substitution in the Grids.

The Grids were broken because the stores in 1.4.3 and 1.8.0 differed in how they stored the url and args.