Fixed search by date bug in the grid