Fix a bug of StoreIndexExec