Use the proper page_size calculation. Fixes #207.
Merge branch 'master' of github.com:ddsc/webclient