newdb: Fix duplicates during adding creating blank book record

Fixes #1206830 [Problem when adding duplicate title](https://bugs.launchpad.net/calibre/+bug/1206830)