[#3638] Let ResultQuery<R> extend Iterable<R>