Fix operator== for Value and String comparisons

refs #7472