Added filters for dates
fixed URI encoding for the querystring