Well, the obvious error in the first DeleteItem is that you get the text from the next row instead of the row you want to delete.
The second one looks ok though.

Do you react to changes in the model somewhere, anything that would change pCounters?

Cheers,
_