Fix up for 'did_something' check in indexer