[views] avoid error in case of Scan without actual data [applied]