Added amalgamation case for merge operation.