apps.core.models.delivery: Really fix is_last_delivery.

Fixes #521.