RunQueries sometimes doesn't return results for all queries.

Thanks very much for this project.  I will be using it a lot.

When handling the returned results in RunQueries there are nested for loops.
Both loops are using `i as the loop counter`.  Top for loop was exiting early if inner loop set i to a value greated then `nreqs`.

Just changed the inner loop to use `j` instead of `i`