Issue #2297989 by fgm: Prevent product type deletion when a product exists.