fix bug where tool would bail early if no grids were present