Fixed date comparison in audit search.