Prevent deleting product classes when products are still assigned

A canonical product should never have it's product class deleted. Thanks
to @mbertheau for suggesting.