Fix so addressbook_search_mode works also for group search (#1489079)