Fix a typo in database.py