Fix bug caused in orMerge methot