Displaying whenNull when the data is null or undefined