Fixed string comparison that used ==