don't try to add to index if there are no results