Fixed bug on RemoveAllItemsByDefindex(). It wasn't removing any items.
- note: bug introduced in ce285d96e9a9f9b00b685ad925e0fe7347829757 along with RemoveAllItemsByDefindex().