Fixing string compare code.