Select by value bug

Currently SelectByValue uses the raw value to match against the internal string values - preventing matching on anything string values. Changed to do .ToString() (as it does when applying the value in the first place).