UrlEncode generated eroneous API calls

urlencode changes ()[] into HTML % terms which is not compatible with the current pubMed API.

Thus the behavior was corrected.