Fix case for nil data