The database is now checked for duplicate entries before saving.