Limit returned row count to maxRows.