Added exclude-entries-with to query.