Spelling errors corrected in db.py