Fixed bug in parsing url parameters

Fixed bug when using url parameters rather than GET query string
parameters as a cacheable function does.