Corrected bug in ValMergeRefine.
Prototype of merge command.