Clear the search when we change the view. Was stuck with the day date range when switching to month for example.