Added support for dates in SCM queries