Reset the collectionhash first.