Changed date search when no date entered.