Fix bug with "Addresses per page" == 1

It was effectively "don't insert any pagebreaks" because the modulus
condition could never be true.

I tested with several combinations of number of addresses and addresses per page, but let me know if something looks wrong.