reverting urlencode. excluding unknown type in search