[Fixed #32] minRecord query var now sets current page.
[Fixed #31] Fixed maxRecord calculation.