Resolves Merge in recognize_log_derivative