Fixed wrong product type check