Fix issue #63 - multipages issue.
Merge pull request #64 from XavierBerger/hotfix

Fix issue #63 - multipages issue.