removing unnecessary handling of html spec. chars

raw $k should be compared to $value and $selvalarray as is, because
$value has already been passed through undoHTMLSpecialChars, and
selvalarray is based on the exploded $value string. No need to decode
entities from $value nor add special chars to $k