apps.core.models.delivery: Fixed is_last_delivery.

Closes #521.