Filter and query.