Fix quoting in string comparisons