Fixed mishandling of non-ASCII encodings in _LabelTier.search().