I have attempted to reproduce this error and I can not. We also have
tests in our Regression testing that tests this functionality and continue
to pass. Are you sure that you are looking at the managed object? Are
you sure you are merging the object that you expect to be merging? Can
you provide a simple testcase?
The method you referenced to does seem to have a simple error. The else
if should be removed.
--Gordon