Fixes bug 864805 - Made minutes and seconds 0 in default datetime in search.