use maxRows option rather than hard coded limit
Ensuring maxRows is always defined

Think this should be in keeping with existing code style for setting (and ensuring) valid values for options
Merge pull request #1 from EbvcRM/patch-1

Fixing maxRows in local codebase