Fixed bug preventing temp chunks deletion

The getDoneQuery method returned an invalid query (wrong access to collection stores' names), because for..in returns the indexes of the elements of the array, not the elements themselves.