Fix: items cannot be deleted if they accidentally resides in 'urn:scrapbook:search'. Also improve the algorithm.
Fix: items cannot be deleted if they accidentally resides in 'urn:scrapbook:search'. Also improve the algorithm.

danny0838/firefox-scrapbook,danny0838/firefox-scrapbook