Add list filter into query.