Fixed a bug in pagenate which caused an infinite series of empty pages to be generated when a single paragraph exceded the specified size options.