Fix delete on index