revmoving multiples rows with function was failing, when detected indice...

Indices of lines to be removed are stored increasingly.

reversing the list of index solved it