Make sure the @isModel attribute for nms:delivery is set to yes. If not, update the field to yes either by Mass update or by using a workflow with query activity (select From nms:delivery where nmsdelivery_id=<PK>) and update data to change from no to yes.