Fix for SQLAlchemy unicode warning