MSINM-147: Fix mailing list issue that would sometimes result in mails for empty search results