Bug fix in aurora_db.py