ldb_tdb: Use the DN extracted from the DB to filter the message later