This will refresh the grid _before_ the queries have been deleted.