We should add a check for duplicate item ids above. Otherwise we leave stuff undeleted (not very critical here but still...)
No topic of this commit though