Strings should never be compared with ==. Fixed that.