Search by date

Now add ability to return empty array for empty search