notmuch-cleanup-deleted-spam: fix the script (now fully tested)