Removelistitemfix

can this be the race condition we were seing maybe? `index` in params list `i` in function block.