Correct date filtering when date ranged is cleared