Fixed issue where unicode strings would be encoded multiple times causing errors when trying to fetch rows with unicode characters as indexed columns.