Fix attribute error when product has a delivery time attached to it.