Handle case where data is null.