does this change the behaviour at all? or is it much the same with no data and real date ranges?
null values shouldn't have been causing the undefined errors from #1010.