Fixed bugs in triage and merging in regression