Add filter to use type of IRC messages in queries.