refs #10332 Should fix MergeMD doctest

it was producing incorrect results!!!