Hi Mike,
With Bricks 1.9.8 beta, now available as a manual download in your account (see changelog), the pagination wraps automatically to prevent overflows.
As with any beta release, please do not use it on a production or live website. It is only meant for testing in a local or staging environment.