Fixed problems with the array_merge in data sources