fix locking in MergeOperation addRows