Allow no max limit on the Paginator.

0 is a valid value for limit. If there is a max limit, take that,
otherwise no limit.

Thanks to @dfryta and @Solvik for the reports.