Updated the expand_ logic to merge immediately with dedupe