Fix bug on comparing BinaryChar with char.