[sample] Correctly assign products to brands in taxons

Fixes #4070