Allow duplicate names into database

By making sqlite not throw an error when the name is a duplicate.

Fixes issue #5