Merge branch 'release-1.0'
Prevent issue where dublicate pk on insert.
Merge pull request #2 from syddjurs/hotfix-1.0.1

Hotfix 1.0.1. Prevent dublicate issue when PDF already exists and done.