patch suggested at http://notmuchmail.org/pipermail/notmuch/2012/011263.html notmuch