-Fixed a few bugs within the sql db.