Fix duplicate key in data sources bug