#7 Bugfix: DatabaseError is not indexable on python 3