Updated Merge to handle collections with abstract types