Move page limit test  (saves an extra invocation at end.)