Fix issue with dispense_datetime calculation and empty fulfillments