fixes #6610 fix log search end date