Deref contrib ID before function execution to delete item.