Fix crash when deleting items of lists with headers

Adds a headers counter to recalculate the list items index, otherwise deleting the last n elements (where n equals the quantity of headers of the list) causes a crash.

I'm not sure if this is the best way to fix the problem, but it's what we are using now, without changing the AbsListView, and works well.