Fix problem with duplicated entries in generated SQL scripts.
Merge pull request #58 from CarstenHollmann/fix/duplicated_entries_db_scripts

Fix problem with duplicated entries in generated SQL scripts.