added ability to pass Date objects as filter values