Added exception handling (DatabaseError) for unaccented queries in the DB