Modified Merge to exclude complex types