Fixed the string equality check.