Fixing warnings about string comparisons.