Fix bug caused in orMerge methot
Add override function for andMerge and orMerge