modify query slightly to avoid duplicates if the definite is known.