fixes unicode comparison warning.

Fix for #372