Fixed issue with query offset for page.
Merge pull request #7 from ianbelcher/bug/queryOffset

Fixed issue with query offset for page.