Issue #2995578 by claudiu.cristea, jhedstrom, alexpott: [regression] Check first if views data exists in datetime_range module