validates uniqueness of dataset in cart. for issue #239