Fixed search by date.