Improved Grid::QueryRange, multiple entities were being added to the output parameter