Handle null and undefined in data requests.