Fixed bug where localized string was compared to unlocalized.

tiny fix.