Guard against nil data source.