Collection: fix _delete
The previous implementation was wrong. Splicing the array shifts all the subsequent indexes. Thus this actually lead to two bad situations:
- the removal of correct items
- the non deletion of wanted indexes
In the new implementation we null the entry of this.items to be deleted and finally we filter out them.