COOK-2337: using merge instead of merge!