Convert to string when comparing to strings.