Fixed an error in string comparison.