Further work, fixing delete index item trigger