correct use of query offset
Merge pull request #7 from DannyJoris/7.x

correct use of query offset
remove blank line at end