Handle another case with unicode

Case: Data stored in the database is a byte string
but the value to compare against is an unicode string.