Update to new notmuch functions.

Why did they break compatibility?