Fix qldap-filter.c for mail query.