Fix per-page export bug
Merge pull request #41 from benprew/patch-1

Fix per-page export bug