QueryFilter: fix #onDirectMessage wrong filtering condition