[TASK] Delete queue items by path rather than UID.

Change-Id: Ib5998d95995fb898e9b1c14add1b90ceddc59fe6