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

Closes #39.