TO for inbound delivery - items deleted from inbound delivery

Folks,

We have an inbound delivery and after that created a TO for this inbound delivery. Then, the user deleted items from the inbound delivery before cancelling the TO. Results now is, that we cannot cancel or confirm the TO.