Avoid exception when trying to generate a single datum in cases where there is no data yet available.