Fix binary string comparison failure