Tweak string comparison