Fixed bug with foreach failing when product has no default option