Fixes a couple db fields.
Merge pull request #14 from dragonexpert/master

Fixes Issue #12