Minor fixes

Fixed import issue for java.util.Date
Encoded query string for filters/parameters