Date constraints in search now working