Improved iquery iterator to return column headers, data.frame object with NIDs partially working (with between)