Better check on empty context for index.