Ah yes there was a bug in calculating the number of thumbnails per page with lots of hidden pictures. I've now fixed this.
I've also added a Thumbnails per page setting to the photo albums settings page, as well as the other grid options, should you find 24 not to your liking!
Thanks
Joe