Fixed bugs in the search logs by date.
Add some test for work date filters