Cleaned up copy-paste in merge code
Merge pull request #150 from mairbek/code-cleanup

Cleaned up copy-paste in OperationMerge code