Fix parameter merge logic to deep_merge.