Fix date filtering for no filter defined