Can not delete task with loose objects

If you have reserved a task with "Loose objects..." or "Orphan objects...", but can not delete it, try the following:

If you after doing the above still got a new group with loose objects, try the following: