#4891 Disable querying with proofs enabled when the query height <= 1.