add message query filter