Fixed a bug with data-grids that did not have a Routes element.