Fix pendingList bug in delete.