Fixed a bug where common name, rather than scientific, samed to database.

Closes #39.