Added support for dates in search.