Fixes dedupe merging to use existing attributes if nil in later.