Fixed a bug on the Delivery check that would cause an ugly error.