Fix searching in addressbook broken with multi-folder search implementation (#1489869)