properly implemented IndexedStorage::Clear, this might have solved a bug, need to create unittest next