Generate valid SQL when firstRow is set but not maxRows
Merge pull request #51 from mollstam/limitbug

Invalid SQL when firstRow set but not maxRows