[ALLI-2972] Fix fatal error when trying to display recent/saved search with date range filter.