CRATEIT-236 Check metadata and items when deleting (and show appropriate messages).